package org.cytoscape.myapp.cytoscape_app_v1.internal.metrics.domain;

import java.util.HashMap;
import java.util.List;

public class User {
	
	private String id;
	private long suid;
	private String name;
	private String link;
	private String gender;
	
	private List<String> groups;
	private List<String> books;
	private List<String> movies;
	private List<String> music;
	private List<String> teams;
	private List<String> athletes;
	private List<String> languages;
	private List<String> television;
	private List<String> likes;
	private List<String> games;
	private List<String> friends;
	
	public HashMap<String, Object> attributes = new HashMap<String, Object>();
	
	
	public List<String> getBooks() {
		return (List<String>)this.getAttributeValue("books");
	//	return books;
	}
	public List<String> getMovies() {
		//return movies;
		return (List<String>)this.getAttributeValue("movies");
	}
	public List<String> getMusic() {
		//return music;
		return (List<String>)this.getAttributeValue("music");
	}
	public List<String> getTeams() {
		//return teams;
		
		return (List<String>)this.getAttributeValue("teams");
	}
	public List<String> getAthletes() {
		//return athletes;
		return (List<String>)this.getAttributeValue("athletes");
	}
	public List<String> getLanguages() {
		return languages;
	}
	public List<String> getTelevision() {
		//return television;
		return (List<String>)this.getAttributeValue("television");
	}
	public List<String> getLikes() {
		//return likes;
		return (List<String>)this.getAttributeValue("likes");
	}
	public List<String> getGames() {
		//return games;
		return (List<String>)this.getAttributeValue("games");
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	public List<String> getGroups() {
		
		return (List<String>)this.getAttributeValue("groups");
//		return groups;
	}
	public void setGroups(List<String> groups) {
		this.groups = groups;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public void setBooks(List<String> books) {
		this.books=books;

	}
	public void setMovies(List<String> movies) {
		this.movies=movies;
	}
	public void setMusic(List<String> music) {
		this.music=music;

	}
	public void setTeams(List<String> teams) {
		this.teams=teams;

	}
	public void setAthletes(List<String> athletes) {
		this.athletes=athletes;
	}
	public void setLanguages(List<String> languages) {
		this.languages=languages;
	}
	public void setTelevision(List<String> television) {
		this.television=television;

	}
	public void setLikes(List<String> likes) {
		this.likes=likes;
	}
	public void setGames(List<String> games) {
		this.games=games;
	}
	public void setFriends(List<String> friends) {
		this.friends=friends;
	}
	public List<String> getFriends() {
		return friends;
	}
	public String toString(){
		return this.getId()+" "+ this.getGender()+" "+this.getLink()+" "+this.getName()+" "+this.getAthletes()+" "+this.getBooks()+" "+this.getGames()+" "+this.getGroups()+" "+this.getLanguages()+" "+this.getLikes()+" "+this.getMovies()+" "+this.getMusic()+" "+this.getTeams()+" "+this.getTelevision();
	}
	/**
	 * @return the suid
	 */
	public long getSuid() {
		return suid;
	}
	/**
	 * @param suid the suid to set
	 */
	public void setSuid(long suid) {
		this.suid = suid;
	}
	
	public void setAttribute(String attribute, Object value){
		this.attributes.put(attribute, value);
	}
	
	public Object getAttributeValue(String attribute){
		return this.attributes.get(attribute);
	}
	
	
	
	
}
